package com.foreknow.dao;

import com.foreknow.entity.Checkapply;

public interface CheckapplyMapper {

    /**
     * 根据id删除
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * 添加
     * @param record
     * @return
     */
    int insert(Checkapply record);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    Checkapply selectByPrimaryKey(Integer id);


    /**
     * 根据record修改
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(Checkapply record);


    /**
     * 根据record修改
     * @param record
     * @return
     */
    int updateByPrimaryKey(Checkapply record);
}